package structural.adapter.inter_face;

/**
 * @ClassName: MainTest
 * @Description: 测试类
 * @Author: liu-hao
 * @Date: 2023-04-11 14:22
 * @Version: 1.0
 **/
public class MainTest {
    public static void main(String[] args) {
        Target adapter = new ConcreteAdapter();
        adapter.method1();
        adapter.method2();
        adapter.method3(); // ConcreteAdapter重写了method3()方法
    }
}
